@media only print {
     #results {
         display: block;
    }
     .jasp-toolbar h1, .jasp-toolbar h2, .jasp-toolbar h3, .jasp-toolbar h4, .jasp-toolbar h5, .jasp-toolbar h6, .jasp-toolbar div , .jasp-toolbar span {
         display: block !important;
    }
     .toolbar-button {
         display: none !important;
         visibility: hidden;
    }
     .jasp-menu {
         display: none !important;
         visibility: hidden;
    }
     .jasp-menu-selected {
         display: none !important;
         visibility: hidden;
    }
     .jaspReportTop {
         display: none !important;
         visibility: hidden;
    }
     body {
         float: none !important;
    }
     .jasp-toolbar {
         break-after: avoid;
    }
    .jasp-analysis + .jasp-analysis {
         break-before: page;  /* always break before analysis(not last one) see: #jasp-issues#3371 and #2919 */
    }
     .jasp-collection {
         break-inside: avoid;
    }
     .hidden-collection {
         break-inside: auto;
    }
     .object-body {
         break-inside: auto;
    }
     .object-body .hidden-collection {
         break-inside: auto;
    }
     .jasp-image {
         break-inside: avoid;
    }
     .jasp-notes {
         break-inside: avoid;
    }
     .jasp-table-primitive {
         break-inside: avoid;
    }
    /* .jasp-table table {
         table-layout:fixed !important;
         width: 100% !important;
    } */

     .jasp-table table td {
         white-space: pre-wrap !important;
         word-wrap: break-all !important;
    }
     .jasp-rsyntax-container {
         max-width: 95% !important;
    }
}
 @page {
     margin: 1cm;
}
